Correct a small oversight
authorMatthias Clasen <mclasen@redhat.com>
Mon, 19 Oct 2009 00:38:28 +0000 (20:38 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 19 Oct 2009 00:38:28 +0000 (20:38 -0400)
When changing themes, we also need to update the box spacing of
tooltips.

gtk/gtktooltip.c

index 1f4de9d776d96ceb499ead55daed3e17e44f06bd..ee4fb0e0e96d45fcb8cef491c10795d860b00989 100644 (file)
@@ -501,6 +501,8 @@ gtk_tooltip_window_style_set (GtkTooltip *tooltip)
                             tooltip->window->style->ythickness,
                             tooltip->window->style->xthickness,
                             tooltip->window->style->xthickness);
+  gtk_box_set_spacing (GTK_BOX (tooltip->hbox,
+                      tooltip->window->style->xthickness);
 
   gtk_widget_queue_draw (tooltip->window);
 }